package com.feng.fengDUtil.dao.converter;

import java.io.Reader;
import java.sql.PreparedStatement;

public abstract class Converter {
    private Object value;

    public Converter() {
    }

    public Object wrap(Object param) {
        this.value = param;
        return this;
    }

    public Object getSerializeParam() {
        return this.value;
    }

    public void setSerializeParam(Object serializeParam) {
        this.value = serializeParam;
    }

    public abstract void serialize(PreparedStatement var1, int var2);

    public abstract Object deSerialize(Reader var1);
}
